package com.eastfair.pay.service;

import com.eastfair.boot.service.SuperService;
import com.eastfair.pay.dto.InvoiceDTO;
import com.eastfair.pay.entity.Invoice;
import com.eastfair.pay.vo.InvoiceVO;
import org.springframework.web.bind.annotation.RequestBody;

import java.util.List;

/**
 * <p>
 * 业务接口
 * 发票
 * </p>
 *
 * @author clm
 * @date 2022-06-08
 */
public interface InvoiceService extends SuperService<Invoice> {
    /**
     * 确认开票
     * @param invoiceDTO
     * @return
     */
      void saveInvoicecCnfirm( List<InvoiceDTO> invoiceDTO);

    /**
     * 开票记录
     */
     List<InvoiceVO> queryInvoicecList(@RequestBody InvoiceDTO invoiceDTO);
}
